func github.com/andybalholm/brotli.fastLog2
28 uses
github.com/andybalholm/brotli (current package)
backward_references_hq.go#L99: log2sum = float32(fastLog2(sum))
backward_references_hq.go#L109: missing_symbol_cost = float32(fastLog2(missing_symbol_sum)) + 2
backward_references_hq.go#L117: cost[i] = log2sum - float32(fastLog2(uint(histogram[i])))
backward_references_hq.go#L197: cost_cmd[i] = float32(fastLog2(uint(11 + uint32(i))))
backward_references_hq.go#L201: cost_dist[i] = float32(fastLog2(uint(20 + uint32(i))))
backward_references_hq.go#L204: self.min_cost_cmd_ = float32(fastLog2(11))
bit_cost.go#L19: retval -= float64(p) * fastLog2(p)
bit_cost.go#L23: retval += float64(sum) * fastLog2(sum)
bit_cost.go#L112: var log2total float64 = fastLog2(histogram.total_count_)
bit_cost.go#L115: var log2p float64 = log2total - fastLog2(uint(histogram.data_[i]))
bit_cost.go#L243: var log2total float64 = fastLog2(histogram.total_count_)
bit_cost.go#L246: var log2p float64 = log2total - fastLog2(uint(histogram.data_[i]))
bit_cost.go#L374: var log2total float64 = fastLog2(histogram.total_count_)
bit_cost.go#L377: var log2p float64 = log2total - fastLog2(uint(histogram.data_[i]))
block_splitter.go#L80: return fastLog2(count)
block_splitter_command.go#L76: insert_cost[i] = fastLog2(uint(uint32(histograms[i].total_count_)))
block_splitter_distance.go#L76: insert_cost[i] = fastLog2(uint(uint32(histograms[i].total_count_)))
block_splitter_literal.go#L76: insert_cost[i] = fastLog2(uint(uint32(histograms[i].total_count_)))
cluster.go#L29: return float64(size_a)*fastLog2(size_a) + float64(size_b)*fastLog2(size_b) - float64(size_c)*fastLog2(size_c)
compress_fragment.go#L330: var r float64 = (fastLog2(total)+0.5)*float64(total) + 200
compress_fragment.go#L332: r -= float64(histo[i]) * (float64(depths[i]) + fastLog2(histo[i]))
fast_log.go#L284: func fastLog2(v uint) float64 {
literal_cost.go#L115: lit_cost = fastLog2(in_window_utf8[utf8_pos]) - fastLog2(histo)
literal_cost.go#L171: var lit_cost float64 = fastLog2(in_window) - fastLog2(histo)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |